package com.blb.community_admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.community_admin.entity.ZyBuilding;
import com.blb.community_admin.entity.ZyCommunity;

import java.util.List;


public interface IZyBuildingService extends IService<ZyBuilding> {
    //查询所有
    List<ZyBuilding> selectBuilding();
    //模糊查询分页
    IPage<ZyBuilding> selectBuildingPage(Long current, long size, ZyBuilding zyBuilding);
    /**
     * By hqh
     * 查询所有小区
     * @return
     */
    List<ZyCommunity> getAllCommunity();
}
